package com.ssm.model;

import java.io.Serializable;

public class Blog implements Serializable {
    private Integer blogid;

    private Integer userid;

    private Integer autorid;

    private String blogname;

    private String blogconent;

    private static final long serialVersionUID = 1L;

    public Integer getBlogid() {
        return blogid;
    }

    public void setBlogid(Integer blogid) {
        this.blogid = blogid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getAutorid() {
        return autorid;
    }

    public void setAutorid(Integer autorid) {
        this.autorid = autorid;
    }

    public String getBlogname() {
        return blogname;
    }

    public void setBlogname(String blogname) {
        this.blogname = blogname == null ? null : blogname.trim();
    }

    public String getBlogconent() {
        return blogconent;
    }

    public void setBlogconent(String blogconent) {
        this.blogconent = blogconent == null ? null : blogconent.trim();
    }
}